package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Checkitem;
import com.itheima.support.PageResult;
import com.itheima.support.QueryPageBean;

import java.util.List;

public interface CheckitemService extends IService<Checkitem> {

    /**
     * 分页查询
     * */
    PageResult findByPage(QueryPageBean queryPageBean);

    /**
     * 根据检查组ID查询检查项
     * */
    List<Checkitem> findByGroupId(Long groupId);
}
